package com.cheng.generator.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* <p>
* 账户资源信息表
* </p>
*
* @author 山水一程
* @since 2022-08-11
*/
@Data
@TableName("bt_account_resources")
@ApiModel(value = "AccountResources对象", description = "账户资源信息表")
public class AccountResources implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("资源编号")
    @TableId("resources_id")
    private String resourcesId;

    @ApiModelProperty("资源名称")
    @TableField("resources_name")
    private String resourcesName;

    @ApiModelProperty("资源路径")
    @TableField("resources_path")
    private String resourcesPath;

    @ApiModelProperty("资源描述")
    @TableField("distcription")
    private String distcription;

    @ApiModelProperty("菜单编号")
    @TableField("menu_id")
    private String menuId;

    @ApiModelProperty("按钮权限")
    @TableField("button_permissions")
    private String buttonPermissions;

    @ApiModelProperty("是否可用（1：启用 2：禁用）")
    @TableField("enabled")
    private Integer enabled;

    @ApiModelProperty("逻辑删除 （1：未删除 2：已删除）")
    @TableField("tombstone")
    @TableLogic
    private Integer tombstone;


}